<template>
	<el-form :inline="true" size="mini" label-width="100px">
		<el-row>
			<el-col :span="8">
				<el-form-item label="接收单位：" style="margin-bottom: 0px"> {{ formInline.transferorOrgan }} </el-form-item>
			</el-col>
			<el-col :span="8">
				<el-form-item label="接收人：" style="margin-bottom: 0px"> {{ formInline.transferor }} </el-form-item>
			</el-col>
			<el-col :span="8">
				<el-form-item label="接收时间：" style="margin-bottom: 0px"> {{ dateFormatTime(formInline.deliveryTime) }}  </el-form-item>
			</el-col>
		</el-row>
		<el-row style="margin-top: 10px">
			<el-col :span="8">
				<el-form-item label="接收电话：" style="margin-bottom: 0px"> {{ formInline.transferorPhone }} </el-form-item>
			</el-col>
			<el-col :span="8">
				<el-form-item label="出库原因：" style="margin-bottom: 0px">{{ getOutType(formInline.deliveryDicType) }}</el-form-item>
			</el-col>
		</el-row>
		<el-row style="margin-top: 10px">
			<el-col :span="8">
				<el-form-item label="移交单位：" style="margin-bottom: 0px"> {{ userInfo.organName }} </el-form-item>
			</el-col>
			<el-col :span="8">
				<el-form-item label="移交人：" style="margin-bottom: 0px"> {{ userInfo.userName }} </el-form-item>
			</el-col>
			<el-col :span="8">
				<el-form-item label="移交人电话：" style="margin-bottom: 0px"> {{ userInfo.phone }} </el-form-item>
			</el-col>
		</el-row>
		<el-row style="margin-top: 0px">
			<el-col :span="24">
				<el-form-item label="备注：" style="width: 100%; margin-top: 10px"> {{ formInline.remark }} </el-form-item>
			</el-col>
		</el-row>
	</el-form>
</template>

<script lang="ts">
import { reactive, toRefs } from 'vue';
import { Session } from '/@/utils/storage';
import { dateFormat,dateFormatTime, getEvidenceStatus, getOutType } from '/@/common';
export default {
	name: 'EvidenceOutConfirm',
	components: {},
	props: { formInline: Object },
	setup(props) {
		const state = reactive({});
		const userInfo = Session.get('userInfo');
		return {
			dateFormat,
			dateFormatTime,
			getEvidenceStatus,
			getOutType,
			userInfo,
			...toRefs(state),
		};
	},
};
</script>
